package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CJudgmentinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CJudgmentinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CJudgmentinfoService;



@Service("cJudgmentinfoService")
public class CJudgmentinfoServiceImpl implements CJudgmentinfoService {
	@Autowired
	private CJudgmentinfoDao cJudgmentinfoDao;
	
	@Override
	public CJudgmentinfoEntity queryObject(Integer id){
		return cJudgmentinfoDao.queryObject(id);
	}
	
	@Override
	public List<CJudgmentinfoEntity> queryList(Map<String, Object> map){
		return cJudgmentinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cJudgmentinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CJudgmentinfoEntity cJudgmentinfo){
		cJudgmentinfoDao.save(cJudgmentinfo);
	}
	
	@Override
	public void update(CJudgmentinfoEntity cJudgmentinfo){
		cJudgmentinfoDao.update(cJudgmentinfo);
	}
	
	@Override
	public void delete(Integer id){
		cJudgmentinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cJudgmentinfoDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cJudgmentinfoDao.delete(entname);
		
	}
}
